export type Methods = 'GET' | 'POST' | 'PUT' | 'DELETE' | 'HEAD' | 'OPTIONS';

export interface DefaultParamsInter {
  baseURL?: string,
  method?: Methods,
  headers?: object,

  [key: string]: any
}

export interface RequestInter {
  url: string,
  method?: Methods,
  data?: object | string,
  headers?: object,
  [key: string]: any
}